package com.dtsz.m2.ui.activity;

import android.os.Bundle;
import android.view.Gravity;
import android.view.View;

import com.dtsz.m2.R;
import com.dtsz.m2.ui.base.BaseActivity;
import com.dtsz.m2.ui.inter.OnPasswordInputFinish;
import com.dtsz.m2.ui.widget.PopEnterPassword;


public class PaymentKeyBoardActivity extends BaseActivity implements OnPasswordInputFinish {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_payment_key_board);
    }

    public void showPayKeyBoard(View view) {

        PopEnterPassword popEnterPassword = new PopEnterPassword(this, this,"0.00㎡");

        // 显示窗口
        popEnterPassword.showAtLocation(this.findViewById(R.id.layoutContent),
                Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, 0); // 设置layout在PopupWindow中显示的位置
    }

    @Override
    public void inputFinish(String password) {

    }
}
